const mongoose = require('mongoose');
// 创建Schema对象
const Schema = mongoose.Schema
var schema = new Schema({
    name: { type: String },
    items: [{
        image: { type: String },
        url: { type: String },
    }],

});

module.exports = mongoose.model('Ad', schema);